package com.mastercard.labs

class CategoryService {

    def serviceMethod() {

    }
	
	def getAll() {
		return Category.list(sort: "name", order: "asc")
	}
	
	def getCategoryListByIds(ids){
		def result = Category.createCriteria().list{
			'in'("id", ids)
		}
		return result
	}
}
